<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/6/10 0010
 * Time: 下午 3:56
 */

namespace DataAPI\Model;


use Think\Model;

class UserConfModel extends Model
{
    public $model;
    public $ErrMessage;
    public function __construct()
    {
        $this->model = M('data_user_conf');
    }

    public function getError()
    {
        return $this->ErrMessage;
    }

    public function addUserConf($data){
        return $this->model->add($data);
    }
}